﻿#ifndef __ADDRESSCONTROLLER__
#define __ADDRESSCONTROLLER__

#include "BaseKit.h"

class AddressController:public CAViewController{
public:
	CREATE_FUNC(AddressController);
protected:
	AddressController();
	virtual ~AddressController();
	void viewDidLoad();
	void viewDidAppear();
	void fillData(const string& data);
	void delData(const string& data);
private:
	int page=1;
	unsigned int delRow;
	const char* url="/api/appAddress";
	CSJson::Value datas;
	CATableView* table;
	CATextField* addressId;
};

#endif